
domain = ""
allowed_domains = filter(None, domain.split(","))

for x in allowed_domains:
    print(x)